<template name="collectItem">
    <div class="post">
        <div class="colorTag">
            <span id="colorTagValue" class="{{colorMarkClass}}"></span>
        </div>

        <div class="post-content">
            <h3><a href="{{url}}" target="_blank">{{title}}</a><span>{{domain}}</span></h3>
            <p>
                <a href="/category/{{category}}" class="catagory-link">{{category}}</a>

                <span>{{uploadTime}}</span>
                {{author}}

                {{#if newest}}
                    <a class="new-link">NEW</a>
                {{/if}}

                <a href="{{pathFor 'postPage'}}">{{commentsCount}} 条评论</a>

                {{#if ownPost}}
                    <a href="{{pathFor 'postEdit'}}"> 编辑</a>
                {{/if}}
            </p>
        </div>
        <a href="{{pathFor 'postPage'}}" class="discuss btn btn-default">更多信息</a>

        <div class="colorMark">
            <div>
                <a href="" id="mark" class=" btn btn-default">标记</a>
            </div>

            <div class="relative">
                <div class="choseMarkColor" hidden>
                    <div class="colorMarkArrow"></div>
                    <div class="colorMarkContent">
                        <a class="redMark"></a>
                        <a class="orangeMark"></a>
                        <a class="yellowMark"></a>
                        <a class="greenMark"></a>
                        <a class="blueMark"></a>
                        <a class="purpleMark"></a>
                        <a class="greyMark"></a>
                    </div>
                </div>
            </div>
        </div>
    </div>
</template>